public class Example3_8{
 public static void main(String arg[]){
  int a[] = {1,2,3,4};
  char b[] = {'a','b','c','d'};
  for(int n=0;n<a.length;n++){
   System.out.println(a[]);
  }
  for(int n=0;m<b.length;n++){
   System.out.println(b[]);
  }
  for(int i:a){
   System.out.println(i);
  }
  for(char ch:b){
   System.out.println(ch);
  }
 }
}